Skip to content

Conversation

@stevedya
Copy link
Contributor

@stevedya stevedya commented May 6, 2025

Closes #39

This PR updates our Stylelint configuration to support Tailwind CSS v4 by ignoring its custom @ rules. Without this, Stylelint incorrectly flags valid Tailwind syntax as unknown at-rules, which clutters linting output development.

Changes

Added the following to scss/at-rule-no-unknown.ignoreAtRules:

- layer
- config
- theme
- custom-variant
- plugin
- source
- variant
- utility
- reference

@stevedya stevedya requested a review from thibaudcolas May 6, 2025 23:26
Copy link
Member

@thibaudcolas thibaudcolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spot on!

@thibaudcolas thibaudcolas merged commit 9bcc9b4 into torchbox:main Dec 2, 2025
3 checks passed
@thibaudcolas thibaudcolas added the enhancement New feature or request label Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tailwind 4 @rule Support

2 participants